
package devbureau.fstore.common;

import java.util.Date;

public class DeliveryInfoImpl implements DeliveryInfo{
    
    private Integer id;
    private String fileName;
    private Double rate;
    private Date created;
    private byte[] content;
    private String login;
    private String currency;

    public DeliveryInfoImpl(Integer id, String fileName, Double rate, String currency) {
        this.id = id;
        this.fileName = fileName;
        this.rate = rate;
        this.currency = currency;
    }
    public DeliveryInfoImpl(Integer id,String fileName,Double rate, String currency, Date created, String login) {
        this(id, fileName, rate, currency);
        this.created = created;
        this.login = login;
    }

    public Integer getId() {
        return id;
    }
    public String getFileName() {
        return fileName;
    }

    public Double getRate() {
        return rate;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

     public Date getCreated() {
        return created;
    }

    public byte[] getContent() {
        return content;
    }

    public void setContent(byte[] content) {
        this.content = content;
    }

    public String getLogin() {
        return  login;
    }

    public String getCurrency() {
        return currency;
    }
}
